From: Boyuan Yang Date: Sun, 19 Sep 2021 00:28:48 +0000 (-0400) Subject: update patch 0001 X-Git-Tag: archive/raspbian/1.1.9+ds1-4+rpi1^2^2~68 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=97a597126f2c1d1089fa546767becc2eaa9442a5;p=opencc.git update patch 0001 --- diff --git a/debian/patches/0001-use-cmake-install-libdir.patch b/debian/patches/0001-use-cmake-install-libdir.patch index 11be2e9..0126ddf 100644 --- a/debian/patches/0001-use-cmake-install-libdir.patch +++ b/debian/patches/0001-use-cmake-install-libdir.patch @@ -2,16 +2,31 @@ From: IME Packaging Team Date: Mon, 9 Oct 2017 22:02:39 +0800 Subject: use-cmake-install-libdir -=================================================================== +Update 2021-09-18: Also use GNUInstallDirs. + +Last-Update: 2021-09-18 --- - CMakeLists.txt | 2 +- - 1 file changed, 1 insertion(+), 1 deletion(-) + CMakeLists.txt | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/CMakeLists.txt b/CMakeLists.txt -index 08d186a..efb51ae 100644 +index 07e3745..094a9c7 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt -@@ -74,7 +74,7 @@ set (DIR_PREFIX ${CMAKE_INSTALL_PREFIX}) +@@ -17,10 +17,11 @@ + # + + ######## Project settings +-cmake_minimum_required(VERSION 2.8) ++cmake_minimum_required(VERSION 3.0.2) + set (PACKAGE_NAME opencc) + project (${PACKAGE_NAME} CXX) + include (CTest) ++include (GNUInstallDirs) + + ######## Options + option(BUILD_DOCUMENTATION "Use Doxygen to create the HTML based API documentation" OFF) +@@ -80,7 +81,7 @@ set (DIR_PREFIX ${CMAKE_INSTALL_PREFIX}) set (DIR_INCLUDE ${DIR_PREFIX}/include/) set (DIR_SHARE ${DIR_PREFIX}/share/) set (DIR_ETC ${DIR_PREFIX}/etc/)